import request from "@/utils/request";
// 上传业主表
export function uploadOwner(data) {
  return request({
    url: "/pc/owner/upload",
    method: "post",
    data,
  });
}
// 创建业主
export function createOwner(data) {
  return request({
    url: "/pc/owner/create",
    method: "post",
    data,
  });
}
// 获取业主分页数据
export function getOwnerByPagination(data) {
  return request({
    url: "/pc/owner/get/pagination",
    method: "post",
    data,
  });
}
// 获取业主分页数据结合问题列表
export function getOwnerByPaginationAndQuestion(data) {
  return request({
    url: "/pc/owner/get/paginationAndQuestion",
    method: "post",
    data,
  });
}
// 通过 uuid 编辑业主
export function editOwnerByUuid(data) {
  return request({
    url: "/pc/owner/edit/uuid",
    method: "post",
    data,
  });
}
// 通过 uuid 删除用户
export function removeOwnerByUuid(data) {
  return request({
    url: "/pc/owner/remove/uuid",
    method: "post",
    data,
  });
}
// 获取全部业主列表
export function getOwnerByAll() {
  return request({
    url: "/pc/owner/get/all",
    method: "post",
  });
}
